objectcache: add $flags argument to BagOStuff::delete()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 7 Mar 2019 21:15:29 +0000 (13:15 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 7 Mar 2019 21:15:29 +0000 (13:15 -0800)
commit5dd409cd385f8b986e19b079fb3cf925405ec76e
tree4652516b80418346e813224c215f2ec7aa8fbe98
parent24755f024fe4efeab9f56a56073f75fc2ae3d7da
objectcache: add $flags argument to BagOStuff::delete()

This makes it consistent with set() and merge(). Also, one subclass
was already using the field in this manner.

Clean up the code related to WRITE_SYNC in SqlBagOStuff.

Change-Id: I0fb84f4475311889507d3ef98afd4476fb81174f
14 files changed:
includes/libs/objectcache/APCBagOStuff.php
includes/libs/objectcache/APCUBagOStuff.php
includes/libs/objectcache/BagOStuff.php
includes/libs/objectcache/CachedBagOStuff.php
includes/libs/objectcache/EmptyBagOStuff.php
includes/libs/objectcache/HashBagOStuff.php
includes/libs/objectcache/MemcachedBagOStuff.php
includes/libs/objectcache/MemcachedPeclBagOStuff.php
includes/libs/objectcache/MultiWriteBagOStuff.php
includes/libs/objectcache/RESTBagOStuff.php
includes/libs/objectcache/RedisBagOStuff.php
includes/libs/objectcache/ReplicatedBagOStuff.php
includes/libs/objectcache/WinCacheBagOStuff.php
includes/objectcache/SqlBagOStuff.php